package com.lkd.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 按月统计各公司销售情况表
 * </p>
 *
 * @author 聂德祥
 * @since 2024-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_order_month_collect")
public class OrderMonthCollect implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 合作商Id
     */
    @TableField("owner_id")
    private Integer ownerId;

    /**
     * 合作商名称
     */
    @TableField("owner_name")
    private String ownerName;

    /**
     * 区域Id
     */
    @TableField("area_id")
    private Integer areaId;

    /**
     * 订单总金额
     */
    @TableField("order_total_money")
    private Long orderTotalMoney;

    /**
     * 订单总数
     */
    @TableField("order_total_count")
    private Long orderTotalCount;

    /**
     * 月份
     */
    @TableField("month")
    private Integer month;

    /**
     * 年份
     */
    @TableField("year")
    private Integer year;

    /**
     * 地区名称
     */
    @TableField("area_name")
    private String areaName;


}
